package com.example.hotelmanager.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.hotelmanager.entity.CostType;
import com.example.hotelmanager.mapper.CostTypeMapper;
import com.example.hotelmanager.service.CostTypeService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author :chenjie
 * @date :Created 2022/11/27 22:55
 */
@Service
public class CostTypeServiceImpl extends ServiceImpl<CostTypeMapper, CostType>implements CostTypeService {

    @Override
    public List<CostType> getAllCostType() {
        return this.baseMapper.getAllCostType();
    }
}
